<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2018/5/7
 * Time: 16:19
 */

namespace app\admin\validate;


use think\Validate;

class GiftValidate extends Validate
{
    protected $rule = [
        ['title', 'require', '标题不能为空'],
        ['sub_title', 'require', '副标题不能为空'],
        ['price', 'require', '价格不能为空'],
        ['url', 'require', '图片不能为空'],
    ];
}